package edu.xhu.model.sys.pojos;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * bilibili用户信息表
 */
@ApiModel(value = "上传配置表")
@AllArgsConstructor
@Data
@TableName("bili_sys_upload")
public class BiliSysUpload implements Serializable {

    /**
     * 配置表id
     */
    @ApiModelProperty(name = "配置表id", notes = "")
    private Long id;
    /**
     * 分片上传id
     */
    @ApiModelProperty(name = "分片上传id", notes = "")
    private Long uploadId;
    /**
     * 文件唯一标识
     */
    @ApiModelProperty(name = "文件唯一标识", notes = "")
    private String md5;
    /**
     * 文件名
     */
    @ApiModelProperty(name = "文件名", notes = "")
    private String fileName;
    /**
     * 桶名
     */
    @ApiModelProperty(name = "桶名", notes = "")
    private String bucketName;
    /**
     * 文件key
     */
    @ApiModelProperty(name = "文件key", notes = "")
    private String objectKey;
    /**
     * 文件大小
     */
    @ApiModelProperty(name = "文件大小", notes = "")
    private Long totalSize;
    /**
     * 分片大小
     */
    @ApiModelProperty(name = "分片大小", notes = "")
    private Long chunkSize;
    /**
     * 分片数
     */
    @ApiModelProperty(name = "分片数", notes = "")
    private Integer chunkNum;

}